import React from 'react'
import Store from './../../utils/store'

import './index.less'

export default class Home extends React.Component{

    componentDidMount(){
        console.log('===============')
        console.log(this.props.history)
        console.log(this.props.history.location)

        sessionStorage.setItem('key', 'value')
        console.log(sessionStorage.getItem('key'))

        Store.save('nt','聂婷')
        console.log(Store.fetch('nt'))
    }

    render(){
        return(
            <div className="home-wrap">
                欢迎来到正新MS
            </div>
        );
    }
}